package com.kaili.pojo.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @AUTHOR pengdongxu.
 * @Date: 18-5-25 上午10:44.
 * @COPYRIGHT 杭州凯立
 */
@Data
public class DispatchVO {

    @ApiModelProperty("操作编号")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private String operationId;

    @Excel(name = "送货单号" ,orderNum = "1")
    @ApiModelProperty("送货单号")
    private String dispatchNo;

    @Excel(name = "送货员", orderNum = "2")
    @ApiModelProperty("送货员")
    private String dispatcherName;

    private Integer dispatcherId;
    @Excel(name = "车辆号", orderNum = "3")
    @ApiModelProperty("车辆号")
    private String carNo;

    @ApiModelProperty("车辆号ID")
    private Integer carId;

    @Excel(name = "件数", orderNum = "4")
    @ApiModelProperty("件数")
    private Integer piece;

    @Excel(name = "重量(KG)", orderNum = "5")
    @ApiModelProperty("重量")
    private Double weight;

    @Excel(name = "(体积(m3))", orderNum = "6")
    @ApiModelProperty("体积")
    private Double vol;

    @Excel(name = "运费", orderNum = "7")
    @ApiModelProperty("配载单配送费")
    private Double sendCharge;

    @Excel(name = "送货时间", orderNum = "8", format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("送货时间")
    private Date dispatcherTime;

    @Excel(name = "操作员", orderNum = "9")
    @ApiModelProperty("操作员")
    private String operationName;

    @ApiModelProperty("手机号")
    private String phone;

    //打印用
    private List<EwbDispatchVO> ewbDispatchVOList;

}
